package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.pojo.QueryParams;
import com.qf.pojo.Role;

public interface RoleService {

    PageInfo<Role> findRoleAll(QueryParams params, Integer pageNum, Integer pageSize);

    int addRole(Role role);

    Role findRoleOne(Integer roleId);

    Integer updateRole(Role role);

    Integer deleteRole(Integer roleId);
}
